<?php

// New study

/* Example

	$behavior = view_load('behavior',array('WHERE'=>'TRIAL=1'));
	
	$lowpassed = run_function('smooth',array($behavior['js_x'],$behavior['js_y'],'20'));
	$highpassed = run_function('highpass',array($behavior['js_x'],$behavior['js_y'],'200'));
	
	graph_build('behavior',$lowpassed); //$lowpassed must be an Nx2 array;
	graph_build('behavior',$highpassed); //$lowpassed must be an Nx2 array;

*/